﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UYD_WCS_AS_AGV_Controller.AGV.Model
{
    
    public class AlarmValuesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string key { get; set; }
    }

    public class AlarmStatusItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hardware_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<AlarmValuesItem> values { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int level { get; set; }
    }

    public class AlarmStamp
        {
        /// <summary>
        /// 
        /// </summary>
        public int secs { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int nsecs { get; set; }
    }

    public class AlarmHeader
        {
        /// <summary>
        /// 
        /// </summary>
        public AlarmStamp stamp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string frame_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int seq { get; set; }
    }

    public class AlarmMsg
    {
        /// <summary>
        /// 
        /// </summary>
        public List<AlarmStatusItem> status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public AlarmHeader header { get; set; }
    }

    public class AlarmReport
    {
        /// <summary>
        /// 
        /// </summary>
        public string topic { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public AlarmMsg msg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string op { get; set; }
    }













}
